package com.neuedu.grainsapi.service.Impl;

import com.neuedu.grainsapi.mapper.CropRanksMapper;
import com.neuedu.grainsapi.pojo.CropRanks;
import com.neuedu.grainsapi.service.CropRanksService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CropRanksServiceImpl implements CropRanksService {
    @Autowired
    private CropRanksMapper cropRanksMapper;
    @Override
    public List<CropRanks> queryCropRanks() {
        return cropRanksMapper.queryCropRanks();
    }
}
